package com.example.service;

import com.example.dao.Import;
import com.example.dao.SearchGoods;
import com.example.entity.*;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface VHnyyVenderService {
    PageInfo<VHnyyVender> getParty(String comPartyId,String name,Integer pageNum, Integer pageSize);

    PageInfo<VHnyyVenderGoodsQuery> getGoods(String comPartyId, SearchGoods searchGoods );

    PageInfo<VHnyyVender> getClient(String comPartyId, String name,Integer pageNum, Integer pageSize);

    PageInfo<SysClientPriceSets> getClientList(String comPartyId, String name,Integer pageNum, Integer pageSize);

    int addPolicy(HnyyPurRebateList hnyyPurRebateList);

    PageInfo<VHnyyVenderGoodsQuery> getCheck(Integer pageNum, Integer pageSize,String key,String comPartyId,String vender,String goodsDesc,String creater,String startDate,String endDate);

    HnyyPurRebateList getPolicy(String comGoodsId, String sysVenderGoodsRefId,String comPartyId);

    int updatePolicy(HnyyPurRebateList hnyyPurRebateList);

    List<VHnyyVender> getClientById(String comPartyId, String clientId);

    List<String> getVenderList(String comPartyId, List<String> ids);

    VHnyyVenderGoodsQuery getImport(String comPartyId, Import importName);

    int saveBatch(HnyyPurRebateList hnyyPurRebateList);

    PageInfo<VHnyyPurRebateList> getTem(Integer pageNum, Integer pageSize);

    int updateTem(String id, String opFlag);

    PageInfo<ComVender> getVenderList(String comPartyId, String name, Integer pageNum, Integer pageSize);

    PageInfo<ComGoods> getGoodsList(String name, Integer pageNum, Integer pageSize);
}
